package com.usian.transaction;

import lombok.Data;

import java.util.Date;

@Data
public class Transaction {
    private Integer id;
    private Integer userid;
    private String why;
    private String money;
    private Date time;

    public Transaction() {
    }

    public Transaction(Integer id, Integer userid, String why, String money, Date time) {
        this.id = id;
        this.userid = userid;
        this.why = why;
        this.money = money;
        this.time = time;
    }
}
